package com.scs.application.modules.dept.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
/**
 * <p>
 * 仓库日清表
 * </p>
 *
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "日清表")
@TableName("dept_daily_balance")
public class DailyBalance extends DataEntity {

    @EntityFieldAnnotation(
            text = "日期",
            length = "",
            type = EntityFieldType.DATE,
            not_null = false,
            default_value = "",
            comment = "日期"
    )
    private Date balanceDate;

    @EntityFieldAnnotation(
            text = "",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = "仓库id"
    )
    private String warehouseId;

    @EntityFieldAnnotation(
            text = "",
            length = "200",
            not_null = false,
            default_value = "",
            comment = "仓库名称"
    )
    private String warehouseName;

    @EntityFieldAnnotation(
            text = "",
            length = "20",
            type = EntityFieldType.LONG,
            not_null = false,
            default_value = "",
            comment = "科室id"
    )
    private String deptId;

    @EntityFieldAnnotation(
            text = "",
            length = "50",
            not_null = false,
            default_value = "",
            comment = "科室名称"
    )
    private String deptName;



    @EntityFieldAnnotation(
            text = "消耗出库数量",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double qtyConsumeOutSum;

    @EntityFieldAnnotation(
            text = "消耗出库金额",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double amountConsumeOutSum;


    @EntityFieldAnnotation(
            text = "计费金额",
            length = "",
            not_null = false,
            default_value = "0.0",
            comment = ""
    )
    private Double amountChargingSum;

    @EntityFieldAnnotation(
            text = "计费数量",
            length = "",
            not_null = false,
            default_value = "0.0",
            comment = ""
    )
    private Double qtyChargingSum;

    @EntityFieldAnnotation(
            text = "入库数量",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double qtyInSum;
    @EntityFieldAnnotation(
            text = "入库金额",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double amountInSum;

    @EntityFieldAnnotation(
            text = "出库数量",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double qtyOutSum;

    @EntityFieldAnnotation(
            text = "出库金额",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double amountOutSum;


    @EntityFieldAnnotation(
            text = "期初数量",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double qtyBeginSum;

    @EntityFieldAnnotation(
            text = "期初金额",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double amountBeginSum;

    @EntityFieldAnnotation(
            text = "期末数量",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double qtyEndSum;

    @EntityFieldAnnotation(
            text = "期末金额",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double amountEndSum;


    // creator ,在父类中处理


    // gmt_create ,在父类中处理


    // modifier ,在父类中处理


    // gmt_modified ,在父类中处理

}
